/**
 * Created by KhoaNam on 6/28/2014.
 */
var WaitScene = cc.Scene.extend({
    ctor: function(){
        this._super();
        this.layer = null;
        this.dataUser = null;
    },
    onEnter:function () {
        this._super();
        this.layer = new WaitLayer();
        this.layer.init();
        this.addChild(this.layer);
        this.onEnterCompleted(this.layer);
    },

    onEnterCompleted: function(layer){

    },

    addPlayers: function(data){
        this.layer.addPlayers(data);
    }
});